import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ObserversModule } from '@angular/cdk/observers';
import { PortalModule } from '@angular/cdk/portal';
import { IconModule } from '../icon/api';
import { OverlaysModule } from '../core/overlay/api';
import { TooltipModule } from '../tooltip/api';
import { OverflowModule } from '../overflow/api';
import { SelectTriggerIconModule } from '../core/api';
import { MenuComponent, SubmenuComponent } from './menu.component';

@NgModule({
  declarations: [MenuComponent, SubmenuComponent],
  imports: [
    CommonModule,
    ObserversModule,
    IconModule,
    PortalModule,
    TooltipModule,
    OverlaysModule,
    OverflowModule,
    SelectTriggerIconModule,
  ],
  exports: [MenuComponent, SubmenuComponent],
})
export class MenuModule {}
